import {cateListApi}  from  '@/api/art.js'
export default {
  namespaced:true,
  state: {
     artList:[]
  },
  mutations: {
    setArtList(state,list) {
      state.artList = list;
    }
     
  },
  actions: {
     async AgetArtList({commit}){
      const res=await cateListApi()
      console.log(res,555);
      commit('setArtList',res.data.data)
     }
  },
}